import { handleActions } from 'redux-actions'
import { TAOTI } from '../types/taoti'

export default handleActions({
  [TAOTI] (state, action) {
    return {
      ...state,
      list: action.payload
    }
  }
}, {
  list: []
})
